package com.huilian.iotbox.admin.wap.dao;

import com.huilian.iotbox.data.po.UserPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserPermissionDao {
    List<UserPermission> findAllByUserId(Integer userId);

    void batchInsert(@Param("list") List<UserPermission> addUserPermissionList);

    void batchDelete(@Param("list") List<UserPermission> delUserPermissionList);
}
